package com.adffice.sample.dbhelper.model;

import com.adffice.library.dbhelper.annotation.Id;
import com.adffice.library.dbhelper.annotation.Table;

import java.util.Date;


@Table(name = "t_item")
public class ItemEntity extends Entity {
    private static final long serialVersionUID = -2958403141683717323L;
    private String id;
    private String name;
    private int count;
    private float weight;
    private double price;
    private boolean good;
    private byte bit;
    private byte[] bytes;
    private Date time;
    private char cc;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public float getWeight() {
        return weight;
    }

    public void setWeight(float weight) {
        this.weight = weight;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public boolean isGood() {
        return good;
    }

    public void setGood(boolean good) {
        this.good = good;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    public byte getBit() {
        return bit;
    }

    public void setBit(byte bit) {
        this.bit = bit;
    }

    public byte[] getBytes() {
        return bytes;
    }

    public void setBytes(byte[] bytes) {
        this.bytes = bytes;
    }

    public char getCc() {
        return cc;
    }

    public void setCc(char cc) {
        this.cc = cc;
    }
}
